
package com.zsrt.day20170420.ch03;

import java.util.ArrayList;
import java.util.List;

import org.junit.Test;

public class StudentTest {

	@Test
	public void test01() throws Exception {
		
		List<Student> studentList = new ArrayList<Student>();
		
		Student student1 = new Student("贾梦菊",22,'女');
		Student student2 = new Student("罗智壕",22,'男');
		Student student3 = new Student("何小强",29,'男');
		Student student4 = new Student("周驰",25,'男');
		
		studentList.add(student1);
		studentList.add(student2);
		studentList.add(student3);
		studentList.add(student4);
		
		System.out.println(studentList);
	}
}
